package ast;

public class IfNode extends StmtNode{

	public ExprNode e;


	public IfNode (ExprNode e, Node ifbody, Node elsebody){
		this.e = e;
		this.left = ifbody;
		this.right = elsebody;
		
	}
	
	public Object accept (Visitor v){
		return v.visit(this);
	}
	
}
